package com.yqy.spring.T1;

public class StudentFactory {
    /**
     * 简单工厂模式，创建一个静态工厂
     * @return
     */
    public static Student getStudent(){
        return new Student();
    }
}
